get base url in wordpress

34

get base url in wordpress -

<?php echo get_site_url(); ?>

wordpress get site url -

$url = site_url();
echo $url;

Comments

Submit
0 Comments